<%@ page language="java"  pageEncoding="utf-8" contentType="text/html; charset=utf-8"%>
<br/>
<div class="pagelist1">
	<table width="100%" border="0" cellspacing="0" cellpadding="0">
		<tr>
			<td width="25%" height="29" nowrap="nowrap"> 
				<span class="STYLE1">
					共${recordCount}条纪录，当前第${targetPage}/${pageCount}页，每页${pageSize}条纪录 
				</span>
			</td>
			<td width="75%" valign="top" class="STYLE1">
				<div align="right">
					<table width="492" height="20" border="0" cellpadding="0"
						cellspacing="0">
						<tr>
							<td height="22" valign="middle"> 
								<s:if test="targetPage > 1">
									<span style="cursor: pointer;" onclick="sendTargetPage(1);">
										首页
									</span>
								</s:if>
							</td>
							<td height="22" valign="middle">
								<s:if test="targetPage > 1">
									<span class="backpage" style="cursor: pointer;"  onclick="sendTargetPage(${targetPage-1});">
										上一页
									</span>
								</s:if>
							</td>
							<td height="22" valign="middle">
								<s:if test="targetPage < pageCount">
									<span class="nextpage" style="cursor: pointer;" onclick="sendTargetPage(${targetPage+1});">
										下一页
									</span>
								</s:if>
							</td>
							<td height="22" valign="middle">
								<s:if test="targetPage < pageCount">
									<span style="cursor: pointer;"  onclick="sendTargetPage(${pageCount});">
									  	末页
									</span>
								</s:if>
							</td>
							<td height="22" valign="middle"> 
									转到第
							</td>
							<td height="22" valign="middle">
								<span class="STYLE7">
									<input name="targetPage" id="targetPage" cssClass="STYLE1" 
										cssStyle="height: 10px; width: 25px;" size="2" 
										onkeyup="this.value=this.value.replace(/[^0-9]/g,'')" value="1"/>
								</span>
							</td>
							<td width="23" height="22" valign="middle">
								页
							</td>
							<td width="30" height="22" valign="middle">
								<span style="cursor: pointer;" onclick="sendTargetPage($('#targetPage').val())">
									转	
								</span>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
</div>
	<script type="text/javascript">
		function sendTargetPage(v) {
		    if (v > ${pageCount}) {
		    	alert("当前最后一页");
		    	return;
		    }
			$("#targetPage").val(v);
			document.forms[0].submit();
		}
	</script>